GXNewFormat
You can use theGXNewFormat
function to create a format object.
gxFormat GXNewFormat (gxJob aJob);
aJob
- A reference to the job object to be associated with the new format object.
- function result
- A reference to a format object.
DESCRIPTION
TheGXNewFormat
function creates a new format object and copies the default format for the specified job object. TheGXNewFormat
function sets the owner count to 1. You need to call this function each time a user creates a new format for a page in a document.RESULT CODES
gxSegmentLoadFailedErr A required code segment for QuickDraw GX printing features failed to load due to low memory or disk errors. gxPaperTypeNotFound The default paper-type object cannot be located. SEE ALSO
Listing 3-9 on page 3-42 shows how to use theGXNewFormat
function to create a format object.To dispose of a format object, see the description of the
GXDisposeFormat
function in the next section.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help